package com.ruoyi.business.approvalflow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.approvalflow.domain.TRegisterApprovalProcessConfig;
import com.ruoyi.business.approvalflow.vo.TRegisterApprovalProcessConfigVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 审批流程配置Mapper接口
 *
 * @author Tellsea
 * @date 2025-06-22
 */
public interface TRegisterApprovalProcessConfigMapper extends BaseMapper<TRegisterApprovalProcessConfig> {

    Page<TRegisterApprovalProcessConfigVo> queryList(Page<?> page, @Param("entity") TRegisterApprovalProcessConfigVo entity);

    List<TRegisterApprovalProcessConfigVo> queryList(@Param("entity") TRegisterApprovalProcessConfigVo entity);

    TRegisterApprovalProcessConfigVo queryById(@Param("id") String processId);

}
